package com.neusoft.bizcore.activiti.dto;

import java.util.List;

import com.neusoft.bizcore.activiti.enums.PendingDataStatusEnum;
import com.neusoft.bizcore.web.dto.AbstractAuditDTO;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author WYS
 * @date 2020年9月8日 上午9:43:27
 */
@Getter
@Setter
@ToString
public class PendingDataDTO extends AbstractAuditDTO {

    // 工作流taskId
    private String taskId;
    // 工单号
    private String workNum;
    // 业务操作类
    private String clazzName;
    // 业务操作方法名
    private String methodName;
    // 处理状态
    private PendingDataStatusEnum status;
    // 待处理业务数据
    private List<ServiceDataModelDTO> data;
    // 名称
    private String name;
    // 备注说明
    private String remarks;

    public PendingDataDTO() {

    }

    public PendingDataDTO(final String clazzName, final String methodName, final String workNum, final String taskId,
            final List<ServiceDataModelDTO> list) {
        this.clazzName = clazzName;
        this.methodName = methodName;
        this.workNum = workNum;
        this.taskId = taskId;
        this.data = list;
    }

    private static final long serialVersionUID = 820317935599984358L;

}
